#ifndef __NETCOMM_NETCHATTER_H__
#define __NETCOMM_NETCHATTER_H__

#include "netchatmsg.h"

#include <string>
#include <memory>


class NetChatter
{
public:
    NetChatter();
    NetChatter(const std::string &);
    virtual ~NetChatter();

    const std::string& getPseudo() const;
    virtual void deliver(const NetChatMsg& msg) = 0;

private:
    std::string m_pseudo;
};

typedef std::shared_ptr<NetChatter> NetChatterPtr;

#endif //__NETCOMM_NETCHATTER_H__
